package cn.com.anypay.manager.miaoma.merchantinfo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import cn.com.anypay.manager.common.controller.BaseController;
import cn.com.anypay.manager.common.response.ApiResponse;

@RestController
@RequestMapping("/api/anon/merchantinfo")
@Validated
public class MerchantInfoController extends BaseController {

    @Autowired
    MerchantInfoService merchantInfoService;

    @GetMapping("/hello")
    ApiResponse<String> hello() {
        return ApiResponse.success("hello world" + MerchantInfoController.class.getName());
    }
}
